<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="__STATIC__/layuimini/lib/layui-v2.6.3/css/layui.css" media="all">
    <title>Title</title>
</head>
<!--导航栏的style-->
<style>
    .main{
        height: calc( 100vh );
        display: flex;
        float: left;
    }
    .ulleft{
        height: 100%;
    }
    .logOff{
        position: fixed;
        bottom: -286px;
    }
</style>
<!--本页style-->
<style>
    .qwe{
        position: fixed;
        top: 120px;
        left: 525px;
    }
    .sss{
        position: fixed;
        top: 200px;
        left: 200px;
    }
    .wwww{
        position: fixed;
        top: 250px;
        left: 250px;
    }

    .ttt{
        position: fixed;
        top: 270px;
        left: 225px;
    }
    #ii{
        position: fixed;
        left: 200px;
        top: 0px;
    }
</style>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<script src="__STATIC__/layuimini/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="__STATIC__/layuimini/lib/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>
<body>
<img id="ii" src="../../../static/img/捕获.JPG" alt="">
<!--导航栏   -->
<div class="main"  style="width: auto;">
    <ul  id="test" class="ulleft  layui-nav layui-nav-tree" lay-filter="test">
        <!-- 侧边导航: <ul class="layui-nav layui-nav-tree layui-nav-side"> -->
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/department_login/login">毕业设计管理系统</a></li>
        <li class="layui-nav-item"><a href="">用户：{$Think.session.department_name}</a></li>
        <li class="layui-nav-item"><a href=""></a></li>
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/department_operate/examineTitle" >审批课题</a></li>
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/department_file_operate/downFile">下载优秀毕业论文</a></li>
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/department_file_operate/uploadFile">提交优秀毕业论文</a></li>
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/department_already_submit">查看提交的文件</a></li>
        <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/department_check_grade">查看评分</a></li>
        <li class="logOff layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/login/loginOut">注销</a></li>
    </ul>
</div>

<!--内容-->
<div class="qwe">
    <form action="http://cmf.yeeyeeyjy.top/lunwen/department_upload_server" method="post" enctype="multipart/form-data">
        <input type="hidden" name="max_file_size" value="1048576">
        <input type="file" name="file">
        <input type="submit" name="上传">
    </form>
</div>
<p class="sss">--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
<p class="wwww">已提交的文件:</p>
<table class="layui-table ttt">
    <colgroup>
        <col width="150">
        <col width="200">
        <col>
    </colgroup>
    <thead>
    <tr>
        <th>学号</th>
        <th>学生</th>
        <th>文件名</th>
        <th>时间</th>
        <th>删除</th>
       <!-- <th>提交</th>-->
        <th></th>
        <th></th>
        <th></th>
        <th></th>
        <th></th>
        <th></th>
        <th></th>
        <th></th>

    </tr>
    </thead>
    <tbody>
    <volist name="title" id="vo">
        <tr>
            <td>{$vo['stu_id']}</td>
            <td>{$vo['stu_name']}</td>
            <td>{$vo['file_name']}</td>
            <td>{$vo['create_time']}</td>
            <td><a href="http://cmf.yeeyeeyjy.top/lunwen/department_file_operate/delete?stu_id={$vo['stu_id']}&file_name={$vo['file_name']}">删除</a></td>
           <!-- <td><a id="button" href="http://cmf.yeeyeeyjy.top/lunwen/department_operate_out_people/test?stu_id={$vo['stu_id']}&stu_name={$vo['stu_name']}&file_name={$vo['file_name']}">提交</a></td>-->
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
    </volist>

</table>

<script>
    //监控这个 按钮  获取两个 input值 提交到 http://cmf.yeeyeeyjy.top/lunwen/department_operate_out_people

   /* $(function(){
        $("#button").click(function() {
            console.log($('#teacher_id').val())
            //window.location.href="http://localhost:8081/html/fund-purchase2.html"
            $.ajax({
                type: 'POST',
                url: "{:url('DepartmentOperateOutPeople/test')}",
                data: {
                    teacher_id: $('#teacher_id').val(),
                    teacher_name:$('#teacher_name').val(),
                    file_name:$('#file_name').val()
                },
                success: function (result) {
                    var result_code = JSON.stringify(result.code);  //JSON转换成字符串
                    var result_msg = JSON.stringify(result.msg);
                    if (result_code !== '1') {
                        // 我在 login_check 方法定义非1为登录失败
                        layer.msg(result_msg);  //小弹框提示登录失败
                    }
                    else {
                        // 登录成功后跳转的后台页面，要自己补全
                        layer.msg(result_msg);  //小弹框提示登录成功，你可以改成跳转到后台页
                        window.location.href = 'http://cmf.yeeyeeyjy.top/lunwen/department_already_submit';
                    }
                },
                error: function (result) {
                    //这里是请求失败的处理，可以给调试使用或者用户网络问题的时候提示
                    parent.layer.msg("服务器接口异常，请稍后再试");
                    //console.log(result);
                }
            });

            });
        });
*/
</script>
</body>
</html>